<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		
	</body>
	
	<script>
		
		var as = new Array(10,20,30);
		console.log(as);
		console.log(as[0]);
		console.log(as.length);
		
		var ass = as.sort(function(x,y){
			return y-x;
		});
		
		console.log(ass);
	</script>
</html>
